//
//  AppDelegate.swift
//  FZQSinLangWeiBo
//
//  Created by fuzhiqiang on 17/1/16.
//  Copyright © 2017年 fzq. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        //实例化
        self.window = UIWindow(frame: UIScreen.main.bounds)
        //设置背景颜色,self.window?判断窗口是否实例化成功，不成功就不执行
        self.window?.backgroundColor = UIColor.white
        //设置根控制器
        self.window?.rootViewController = FZQMainViewController()
        //设置为主窗口并显示
        self.window?.makeKeyAndVisible()
        return true
    }

   


}

